<div id="announcement">
    <?php include_partial('genericComponent/rightTitle', array('title' => 'Dernier communiqué')); ?>

    <h3 class="text-shadowed">
        <span class='date'><?php echo date("d/m/Y", strtotime($announcement['updated_at'])) ?></span>
        - <?php echo $announcement['title'] ?></h3>
    <?php
    $description = $announcement ? strip_tags($announcement->getDescription(ESC_RAW)) : $announcement;
    if(!empty($description)){
        echo $announcement->getDescription(ESC_RAW);
    }
    ?>
</div>